package com.nyt.org.modules.api.model;

public class PublicResponse {

    private String protover = "2.0";    // 版本协议

    private String sysid = "中旅票务接口服务中间件";       // 系统名

    private String method;      // 接口名称

    private String accesskey;   // 请求者标识

    private String requestid;       //发起方的唯一标识，UUID

    private String requesttime;     // 请求时间 YYYYMMDDhhmmss

    private String statuscode;        // 签名内容 32位

    private String statusmsg;      // 签名算法

    private String reserve;     // 用于扩充

    public PublicResponse(String method, String accesskey, String requestid, String requesttime, String statuscode, String statusmsg, String reserve) {
        this.method = method;
        this.accesskey = accesskey;
        this.requestid = requestid;
        this.requesttime = requesttime;
        this.statuscode = statuscode;
        this.statusmsg = statusmsg;
        this.reserve = reserve;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve;
    }

    public String getRequesttime() {
        return requesttime;
    }

    public void setRequesttime(String requesttime) {
        this.requesttime = requesttime;
    }

    public String getRequestid() {
        return requestid;
    }

    public void setRequestid(String requestid) {
        this.requestid = requestid;
    }

    public String getAccesskey() {
        return accesskey;
    }

    public void setAccesskey(String accesskey) {
        this.accesskey = accesskey;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getSysid() {
        return sysid;
    }

    public void setSysid(String sysid) {
        this.sysid = sysid;
    }

    public String getProtover() {
        return protover;
    }

    public void setProtover(String protover) {
        this.protover = protover;
    }

    public String getStatuscode() {
        return statuscode;
    }

    public void setStatuscode(String statuscode) {
        this.statuscode = statuscode;
    }

    public String getStatusmsg() {
        return statusmsg;
    }

    public void setStatusmsg(String statusmsg) {
        this.statusmsg = statusmsg;
    }

}
